Total Complexity | 29 |
Dependencies | 8 |
Dependents | 2 |
Total lines | 271 |
Lines of code | 128 |
Logical lines of code | 63 |
Comment lines | 113 |
Methods | 14 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
record_event() | 54 | 5 | 20 | |
normalize_tracks_properties() | 61 | 5 | 11 | |
can_track() | 66 | 5 | 9 | |
get_wcshipping_props() | 57 | 2 | 17 | |
shipping_zone_method_status_toggled() | 59 | 2 | 15 | |
tos_accepted() | 65 | 2 | 9 | |
init() | 61 | 1 | 11 | |
plugin_activation() | 80 | 1 | 3 | |
plugin_deactivation() | 80 | 1 | 3 | |
shipping_zone_method_added() | 65 | 1 | 9 | |
shipping_zone_method_deleted() | 65 | 1 | 9 | |
settings_saved() | 71 | 1 | 6 | |
setup_complete_banner_dismissed() | 80 | 1 | 3 | |
wpcom_connect_site_start() | 80 | 1 | 3 |